package com.sunwayworld.basemodule.coredata.test.resource;

import com.sunwayworld.framework.log.annotation.Log;
import com.sunwayworld.framework.log.annotation.LogType;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.validator.permission.annotation.ValidatePermissionWith;
import com.sunwayworld.framework.validator.permission.support.DefaultUpdatablePermissionValidator;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.coredata.test.bean.LimsPossibleResultBean;
import com.sunwayworld.basemodule.coredata.test.service.LimsPossibleResultService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/secure/basemodule/coredata/possibleresults")
public interface LimsPossibleResultResource extends GenericResource<LimsPossibleResultService, LimsPossibleResultBean, Long> {

    @Log(value = "删除", type = LogType.DELETE)
    @RequestMapping(value = "/deleteByAnalyteId/{analyteId}",method = RequestMethod.DELETE)
    void deleteByAnalyteId(@PathVariable Long analyteId);

}
